package com.fandou.airobot.data.bean;

import androidx.annotation.DrawableRes;

public class HomeItem {
    private String title;
    private @DrawableRes int iconRes;
    private @DrawableRes int backgroundRes;
    private int actionTo;

    public HomeItem(String title, @DrawableRes int iconRes, @DrawableRes int backgroundRes, int actionTo) {
        this.title = title;
        this.iconRes = iconRes;
        this.backgroundRes = backgroundRes;
        this.actionTo = actionTo;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public @DrawableRes int getIconRes() {
        return iconRes;
    }

    public void setIconRes(@DrawableRes int iconRes) {
        this.iconRes = iconRes;
    }

    public @DrawableRes int getBackgroundRes() {
        return backgroundRes;
    }

    public void setBackgroundRes(@DrawableRes int backgroundRes) {
        this.backgroundRes = backgroundRes;
    }

    public int getActionTo() {
        return actionTo;
    }

    public void setActionTo(int actionTo) {
        this.actionTo = actionTo;
    }
}
